" xiao's vim rc 
set autoread
set number
colorscheme desert
syntax on
set tabstop=4
set go-=T
set go-=m

" Fast saving
nmap <leader>w :w!<cr>
set ruler
set smartcase

"""""""""""""""""""""""""""""""""
" => Text, tab and indent related
"""""""""""""""""""""""""""""""""
set expandtab
set shiftwidth=4
set tabstop=4
set smarttab

set lbr
set tw=500

set ai "Auto indent
set si "Smart indet
set wrap "Wrap lines

setlocal foldlevel=1

" open js fold
let b:javascript_fold=1

" open js support to dom, html, css
let javascript_enable_domhtmlcss=1
